public class Admin extends Client {

    public Admin(Serveur s) {
        super(s);
    }

    public void createTransport(TypeTransport type, int capacité) {
        Transport t = new Transport(type, capacité);
        serveur.addTransport(t);
    }

    public boolean deleteTransport(int idTransport) {
        return serveur.deleteTransport(idTransport);
    }

    public boolean deleteTrajet(int idTrajet) {
        return serveur.deleteTrajet(idTrajet);
    }

    public boolean modifyTransport(int idTransport, TypeTransport type,
            int capacité) {
        return serveur.modifyTransport(idTransport, type, capacité);
    }

    public void consult() {
        serveur.consult();
    }

}
